<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/static/common/taglibs.jsp"%>
<div class="page">
	<div class="pageHeader">
	</div>

	<div class="pageContent">
			<div class="panelBar">
			<ul class="toolBar">
			<span>联系电话：${order.phone }&nbsp;&nbsp;&nbsp;&nbsp;</span>
			<span>收货人：${order.recieveUser }&nbsp;&nbsp;&nbsp;&nbsp;</span>
			<span>传真：${order.fax }&nbsp;&nbsp;&nbsp;&nbsp;</span>
			<span>邮箱：${order.email }</span>
			</ul>
		</div>
		<div class="panelBar">
			<ul class="toolBar">
			<span>地址：${order.address }&nbsp;&nbsp;&nbsp;&nbsp;</span>
			</ul>
		</div>
		<div class="panelBar">
			<ul class="toolBar">
			<span>备注：${order.remark}&nbsp;&nbsp;&nbsp;&nbsp;</span>
			</ul>
		</div>
		<table class="table myTable" width="100%" layouth="148">
			<thead>
				<tr>
				<th align="center">名称</th>
                <th align="center">款号</th>
                <th align="center">主钻重量</th>
                <th align="center">主钻形状</th>
                <th align="center">金重</th>
                <th align="center">材质</th>
                <th align="center">副钻总重量</th>
                <th align="center">指圈</th>
                <th align="center">价格</th>
                <c:if test="${cUser.type==1 }">
                    <th align="center">二级批发价</th>
                </c:if>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${rings}" var="ring" varStatus="index">
				<tr>
                    <td>${ring.name }</td>
                    <td>${ring.no }</td>
                    <td>${ring.mainBeginWeigh }—${ring.mainEndWeigh }</td>
                    <td>${ring.mainShape }</td>
                    <td>${ring.goldWeight }</td>
                    <td>${ring.quality }</td>
                    <td>${ring.minorWeigh }</td>
                    <td>${ring.sizeBegin }—${ring.sizeEnd }</td>
                    <td>${ring.price}</td>
                    <c:if test="${cUser.type==1 }">
                    <td>${ring.secondPrice}</td>
                    </c:if>
                   </tr>
                    </c:forEach>
			</tbody>
		</table>
	</div>
</div>
